Rotary Switch Tool - ActiveX Properties
The Rotary Switch Tool is an ActiveX control. As such, a Rotary Switch Tool object has an ActiveX page on the Property Sheet. Many of these properties are the object’s formatting properties. Values for the ActiveX Properties can be set directly on the ActiveX page or in the OCXProperties dialog box, which is accessed by clicking the (OCXProperties) property.
| Property | Description | Related Properties |
|---|---|---|
|
Specifies whether the object controls its update rate. Default is 0 - No. When set to 1 - Yes, the object is repainted at the rate specified by the UpdateFrameRate property. |
||
|
Specifies the color of the object background. Default is gray (RGB 236.233.216). The background color is not shown if the Transparent property is set to 1 — Yes. |
||
|
Specifies the name of an image file to show on the background of the object. Default is blank. Note: Although Windows Metafile (.wmf) is listed as a format option, this file format is not supported. |
||
|
Enables user interaction with the object. If set to 0 - No, the object is still shown but its context menu is disabled. Default is 1 - Yes. |
||
|
Specifies the height (in pixels) of the object. |
||
|
Specifies the increment applied to the switch position when the arrow keys are pressed. Default is 1. |
||
|
Specifies the increment applied to the switch position when the Page Up or Page Down keys are pressed. Default is 2. |
||
|
Specifies if the pointer has to be dragged to change the position or if an indicator can be clicked. Default is 0 - imcsGoTo, which means the indicator can be clicked. |
||
|
Specifies the offset of the object from its x-axis. Default is 0. |
||
|
Specifies the offset of the object from its y-axis. Default is 0. |
||
|
Enables the SaveAllPropertiesToFile method to save just the ActiveX Properties or all object properties. Default is 0 - No, which means that only ActiveX Properties are saved. |
||
|
Specifies the color of the pointer. Default is gray (RGB 236.233.216). |
||
|
Specifies the height (in pixels) of the pointer. Default is 4. |
||
|
Specifies the pointer highlight color. Default is white (RGB 255.255.255). |
||
|
Specifies the length (in pixels) of the pointer. Default is 25. |
PointerWidth |
|
|
Specifies the pointer style. Default is 0 - isrpsPointer. Other option is 1 - isrpsRectangle. |
||
|
Specifies the starting position of the pointer. Default is 0. In Run mode the position is determined by the point associated with the object. |
||
|
Specifies the outer bevel style of the position indicator. Default is 2 - ibsLowered. Other options are 0 - ibsNone and 1 - ibsRaised. |
||
|
Specifies the color of the position indicator. Default is cyan (RGB 0.255.255). |
PositionIndicatorStyle |
|
|
Specifies the margin (in pixels) between the position indicators and the pointer. Default is 10. |
||
|
Specifies the size (in pixels) of the position indicator. Default is 3. |
||
|
Specifies the font of the active position label. Default is MS Sans Serif (8 point). |
||
|
Specifies the color of the active position label font. Default is black (RGB 0.0.0). |
||
|
Specifies the position label alignment. Default is 0 - ilaCenter. Other option is 1 - ilaJustified. |
||
|
Specifies the font of the inactive position labels. Default is MS Sans Serif (8 point). |
||
|
Specifies the color of the inactive position label font. Default is black (RGB 0.0.0). |
||
|
Specifies the margin (in pixels) between the position labels and the position label indicators. Default is 15. |
||
|
Specifies default position labels. In Run mode these labels will be replaced by the enumeration table values or descriptions. |
||
|
Specifies the spacing (in degrees) between indicator positions. Default is 1 - irds45. Other options are 0 - irds22p5, 2 - irds90. |
||
|
Specifies the position (in degrees) at which the switch starts its clockwise rotation. Default is 4 - irsd180. Other options are 0 - irsd000, 1 - irsd045, 2 - irsd090, 3-irsd135, and 5 - irsd225. |
||
|
Enables display of the focus rectangle. |
||
|
Enables display of the position indicators. Default is 1 - Yes. |
||
|
Enables the display of the position labels. Default is 1 - Yes. |
|
|
|
Enables transparency of the object background. Default is 0 - No. |
||
|
Specifies the rate (in seconds) of repainting the object. Default is 60. Applicable only when AutoFrameRate is set to 1 - Yes. |
||
|
Enables the visibility of the object on TheView. Default is 1 - Yes. |
||
|
Specifies the width (in pixels) of the object. |


